package com.baike.service;

import com.baike.entity.ContentVo;
import com.baike.entity.TbContent;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Date;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author x_FG
 * @since 2021-10-30
 */
public interface ITbContentService extends IService<TbContent> {

    boolean updateStatusInfo(Integer id, Integer status);

    boolean updateContentInfo(TbContent tbContent);

//    String fileUpload(InputStream inputStream);

    boolean insertContentInfo(TbContent tbContent);

    boolean getThinkTimeInfo(Integer id,Date createTime, Date updateTime);

    ContentVo getFrontInfo(String format);
}
